package mybag1;

public class Emailnormally extends Email {
	private String receiver;
	private String cc;
	private String bcc;

	public Emailnormally(String attachment, String subject, String content, String sender, String sendTime,
			String status, String receiver, String cc, String bcc) {
		super(attachment, subject, content, sender, sendTime, status);
		this.receiver = receiver;
		this.cc = cc;
		this.bcc = bcc;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getCc() {
		return cc;
	}

	public void setCc(String cc) {
		this.cc = cc;
	}

	public String getBcc() {
		return bcc;
	}

	public void setBcc(String bcc) {
		this.bcc = bcc;
	}

	public void sendrn() {
		System.out.println("正常发送！");
		System.out.println("附件为" + this.getAttachment());
		System.out.println("主题为" + this.getSubject());
		System.out.println("内容为" + this.getContent());
		System.out.println("发件人为" + this.getSender());
		System.out.println("状态为" + this.getStatus());
		System.out.println("发送时间为" + this.getSendTime());
		System.out.println("收件人为" + this.getSender());
		System.out.println("抄送人为" + this.getReceiver());
	}
}
